package com.course.android.activity;

import android.content.Intent;

import androidx.viewpager.widget.ViewPager;

import com.course.android.R;
import com.course.android.activity.base.BaseActivity;

import me.majiajie.pagerbottomtabstrip.NavigationController;
import me.majiajie.pagerbottomtabstrip.PageNavigationView;

public class MainPageActivity extends BaseActivity {
    PageNavigationView navigation;
    ViewPager pager;
//    private NavController mNavController;
    @Override
    protected void initView() {
        navigation = findViewById(R.id.navigation);
        pager = findViewById(R.id.pager);

    }

    /**
     * 初始化底部导航
     */
    private void initBottomNavigation(PageNavigationView pageNavigationView) {
//        NavigationController navigationController = pageNavigationView.material()
//                .addItem(R.drawable.ic_favorite_gray_24dp, "A")
//                .addItem(R.drawable.ic_favorite_gray_24dp, "B")
//                .addItem(R.drawable.ic_favorite_gray_24dp, "C")
//                .build();
//
//        BottomNavigationUtils.setupWithNavController(PAGE_IDS, navigationController, mNavController);
    }

    @Override
    protected void initData() {

    }

    @Override
    protected int bindLayout() {
        return R.layout.activity_page_main;
    }

    @Override
    protected void onActivityResultCallBack(Integer reqCode, Intent data) {

    }
}
